package com.fyzk.utils;

public class ButtonUtils {

	private static long lastClickTime;   
    public static boolean isFastDoubleClick(long times) {   
        long time = System.currentTimeMillis();   
        long timeD = time - lastClickTime;   
        if ( 0 < timeD && timeD < times) {       
            return true;      
        }      
        lastClickTime = time;      
        return false;      
    }  
}
